package com.dao;

import com.model.MyIp;
import org.apache.ibatis.annotations.Mapper;

import javax.xml.crypto.Data;
import java.util.List;

@Mapper
public interface IMyip {
    int addMyIp(MyIp myIp);

    List<MyIp> getMyIpByTime(int data1, int data2);

    int updateMyIp(MyIp myIp);

    int deleteMyIp(int userid);

    MyIp getMyIpByUserid(int userid);
}
